package com.itheima.service;

import com.itheima.pojo.Dept;

import java.util.List;

//部门业务逻辑层接口
public interface DeptService {
    //查询所有部门
    List<Dept> list();

    Boolean deleteById(Integer id);

    Boolean save(Dept dept);


    Dept getById(Integer id);

    void update(Dept dept);
}
